﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace Invini.Training
{
    public class TrainingOptions : DependencyObject
    {
        public static readonly DependencyProperty KeyProperty = DependencyProperty.RegisterAttached("Key", typeof(string), typeof(TrainingOptions), new PropertyMetadata(null));
        public static void SetKey(DependencyObject element, string value)
        {
            element.SetValue(KeyProperty, value);
        }
        public static string GetKey(DependencyObject element)
        {
            return (string)element.GetValue(KeyProperty);
        }

        public static readonly DependencyProperty IgnoreProperty = DependencyProperty.RegisterAttached("Ignore", typeof(bool), typeof(TrainingOptions));
        public static void SetIgnore(DependencyObject element, bool value)
        {
            element.SetValue(IgnoreProperty, value);
        }
        public static bool GetIgnore(DependencyObject element)
        {
            return (bool)element.GetValue(IgnoreProperty);
        }
    }
}
